<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Cache-Control" content="No-Cache">
	<meta http-equiv="Pragma" content="No-Cache">
	
	<title>운세의신</title>
	
	<link rel="stylesheet" type="text/css" href="/css/sub.css">
	<link rel="stylesheet" type="text/css" href="/css/common.css">

	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script type="text/javascript">
		$(document).ready(function() {

			var tabs = $(".policy_content");
			
			// 메뉴 링크 설정
			var menu = $(".potab ul li");
			menu.each(function(index) {
				$(this).click(function() {
					tabs.hide();
					tabs.eq(index).show();
					menu.removeClass('on').addClass('off');
					$(this).removeClass('off').addClass('on');
				});
			});
			
			// 기본 탭 선택
			$(function() {
				menu.removeClass('on').addClass('off');
				tabs.hide();
				if ($("#policy_type").val() == 'service') {
					menu.eq(0).removeClass('off').addClass('on');
					tabs.eq(0).show();
				} else {
					menu.eq(1).removeClass('off').addClass('on');
					tabs.eq(1).show();
				}
			});
		});
	</script>
</head>
	
<body>
<input type="hidden" id="policy_type" value="<?=$policy_type?>" />
<div id="wrap"> 
	<!-- Header -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_header.php'; ?>
	<!--// Header -->

	<!--커튼 데코레이션-->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/drape.php'; ?>
	<!--//커튼 데코레이션--> 
	
	<!-- Contents --> 
	
	<!--컨텐츠-->
	<div id="content">
		<div class="container"> 
			<!--서브타이틀-->
			<h2 class="tpolicy"><img src="/images/sub/common/stit_policy.png" alt="운세의신 정책" /></h2>
			<!--//서브타이틀-->
			<div class="policy_total">
				<div class="potab">
					<ul>
						<li class="on" style="cursor: pointer" >서비스이용약관</li>
						<li class="end off" style="cursor: pointer" >개인정보취급방침</li>
					</ul>
				</div>
				<!--//potab-->
				<div class="policy_content">
					<h3><img src="/images/sub/common/sstit_policy.png" alt="운세의신서비스이용약관" /></h3>
					<div class="clause">
						<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/policy/policy_service.php'; ?>
					</div>
				</div>

				<div class="policy_content">
	                <h3><img src="/images/sub/common/sstit_policy2.png" alt="운세의신개인정보취급방침" /></h3>
	                <div class="clause">
						<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/policy/policy_privacy.php'; ?>
					</div>
				</div>
				<!--//clause--> 
			</div>
		</div>
		<!--//컨텐츠--> 
	</div>
	<!--//Contents --> 

	<!-- Footer -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_footer.php'; ?>
	<!--// Footer -->
</div>
</body>
</html>
